﻿using Sunny.UI;
using MstscManager.Utils;
using System;
using Sunny.UI.Win32;

namespace MstscManager.Controls
{
    public partial class About : UIPage
    {
        string now_version = Share.now_version;

        public About()
        {
            InitializeComponent();
            uiLine1.Text = "当前版本 v" + now_version;
        }


        private void uiButton1_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("https://gitee.com/ffcode/mstsc-manager/releases/latest");
        }

        private void uiLabel1_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("https://github.com/GMYXDS/MstscManager");
        }

        private void uiLabel2_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("https://gitee.com/ffcode/mstsc-manager");
        }
    }
}
